<script setup lang="ts">
import { storeToRefs } from 'pinia';

import { link1688stor } from '#/store';

const link1688 = link1688stor();
const { getdeteailLoading } = storeToRefs(link1688);
</script>

<template>
  <div class="flex w-full items-center justify-between">
    <a-space>
      <a-button :loading="getdeteailLoading" @click="link1688.autobindsku">
        自动匹配规格
      </a-button>
      <a-button :loading="getdeteailLoading" @click="link1688.clearBindLogs">
        清空已关联规格
      </a-button>
    </a-space>
    <a-space>
      <a-button
        :loading="getdeteailLoading"
        @click="link1688.showIsLinkBindStatus = false"
      >
        取消
      </a-button>
      <a-button
        :loading="getdeteailLoading"
        type="primary"
        @click="link1688.saveBind1688Fn"
      >
        保存
      </a-button>
    </a-space>
  </div>
</template>
